package com.example.user.constants;

public interface UserConstants {

    /* 用户注册来源 */
    int LEXAR_APP = 1;
    int RMA = 2;
    int FRAME = 3;

    String MOBILE_PHONE_REGEX = "^[1][3,4,5,7,8,9][0-9]{9}$";
    String PASSWORD_REGEX = "^[a-zA-Z0-9!@#$%^&*()_\\-+=\\\\|\\[\\]{}/?.>,';:\"]{8,20}$";

    /* kafka事件 */
    String UPDATE_USERNAME_EVENT = "update_username_event";
    String UPDATE_AVATAR_EVENT = "update_avatar_event";

}
